package com.ruoyi.tsjData.domain.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 提升机-制动力测试结果对象 data_tshj_zhdl_result
 * 
 * @author ruoyi
 * @date 2023-11-07
 */
@Getter
@ApiModel(value = "提升机-制动力测试结果对象")
public class DataTshjZhdlResult extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 制动力测试结果ID */
    private Long zhdlId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    @ApiModelProperty(value = "测试任务ID")
    private Long dataTaskId;

    /** 测试结果ID */
    @Excel(name = "测试结果ID")
    @ApiModelProperty(value = "测试结果ID")
    private Long dataResultId;

    /** 最大制动力 */
    @Excel(name = "最大制动力")
    @ApiModelProperty(value = "最大制动力")
    private String zhdlMax;

    /** 制动半径 */
    @Excel(name = "制动半径")
    @ApiModelProperty(value = "制动半径")
    private String zhdbj;

    /** 制动力矩 */
    @Excel(name = "制动力矩")
    @ApiModelProperty(value = "制动力矩")
    private String zhdlj;

    /** 旋转力矩 */
    @Excel(name = "旋转力矩")
    @ApiModelProperty(value = "旋转力矩")
    private String xzhlj;

    /** k值 */
    @Excel(name = "k值")
    @ApiModelProperty(value = "k值")
    private String zhdlK;

    /** 制动力Svg */
    @ApiModelProperty(value = "制动力Svg")
    private String zhdlSvg;

    /** 制动力路径地址 */
    @Excel(name = "制动力路径地址")
    private String zhdlImg;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setZhdlId(Long zhdlId)
    {
        this.zhdlId = zhdlId;
    }

    public void setDataTaskId(Long dataTaskId)
    {
        this.dataTaskId = dataTaskId;
    }

    public void setZhdlMax(String zhdlMax)
    {
        this.zhdlMax = zhdlMax;
    }

    public void setZhdbj(String zhdbj)
    {
        this.zhdbj = zhdbj;
    }

    public void setZhdlj(String zhdlj)
    {
        this.zhdlj = zhdlj;
    }

    public void setXzhlj(String xzhlj)
    {
        this.xzhlj = xzhlj;
    }

    public void setZhdlK(String zhdlK)
    {
        this.zhdlK = zhdlK;
    }

    public void setZhdlImg(String zhdlImg)
    {
        this.zhdlImg = zhdlImg;
    }

    public void setSaveTime(Date saveTime)
    {
        this.saveTime = saveTime;
    }

    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public void setZhdlSvg(String zhdlSvg) {
        this.zhdlSvg = zhdlSvg;
    }

    public void setDataResultId(Long dataResultId) {
        this.dataResultId = dataResultId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("zhdlResultId", getZhdlId())
            .append("dataTaskId", getDataTaskId())
            .append("zhdlMax", getZhdlMax())
            .append("zhdbj", getZhdbj())
            .append("zhdlj", getZhdlj())
            .append("xzhlj", getXzhlj())
            .append("zhdlK", getZhdlK())
            .append("zhdlImg", getZhdlImg())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
